package com.emperor.service;

import com.emperor.dto.NodeDto;
import com.emperor.entity.Business;
import com.emperor.vo.SkuClassPageVo;
import com.emperor.vo.VmListVo;

import java.util.List;

public interface NodeService {
    SkuClassPageVo findAll(Integer pageIndex, Integer pageSize, String regionId);

    List<Business> findBusiness();

    VmListVo findNodeById(Integer nodeId);

    void updateNode(Integer nodeId, NodeDto dto);

    void deleteNode(Integer id);

    Integer count();
}
